package com.zxb.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zxb.common.annotation.Excel;
import com.zxb.common.core.domain.BaseEntity;

/**
 * 蜂箱数据对象 beehivedata
 * 
 * @author zxb
 * @date 2024-10-14
 */
public class Beehivedata extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据id */
    private Long dataId;

    /** 蜂箱id */
    @Excel(name = "蜂箱id")
    private Long beehiveId;

    /** 记录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordedAt;

    /** 蜂箱内部温度 */
    @Excel(name = "蜂箱内部温度")
    private BigDecimal innerTemperature;

    /** 蜂箱外部温度 */
    @Excel(name = "蜂箱外部温度")
    private BigDecimal outerTemperature;

    /** 蜂箱内部湿度 */
    @Excel(name = "蜂箱内部湿度")
    private BigDecimal innerHumidity;

    /** 蜂箱外部湿度 */
    @Excel(name = "蜂箱外部湿度")
    private BigDecimal outerHumidity;

    /** 蜜蜂数量 */
    @Excel(name = "蜜蜂数量")
    private Long beeCount;

    /** 蜜蜂出勤率 */
    @Excel(name = "蜜蜂出勤率")
    private BigDecimal attendanceRate;

    /** 一氧化碳浓度 */
    @Excel(name = "一氧化碳浓度")
    private BigDecimal coConcentration;

    /** 电池电电量 */
    @Excel(name = "电池电电量")
    private BigDecimal batteryLevel;

    /** 蜜蜂进出蜂箱的频率 */
    @Excel(name = "蜜蜂进出蜂箱的频率")
    private Long hiveTrafficFrequency;

    public void setDataId(Long dataId) 
    {
        this.dataId = dataId;
    }

    public Long getDataId() 
    {
        return dataId;
    }
    public void setBeehiveId(Long beehiveId) 
    {
        this.beehiveId = beehiveId;
    }

    public Long getBeehiveId() 
    {
        return beehiveId;
    }
    public void setRecordedAt(Date recordedAt) 
    {
        this.recordedAt = recordedAt;
    }

    public Date getRecordedAt() 
    {
        return recordedAt;
    }
    public void setInnerTemperature(BigDecimal innerTemperature) 
    {
        this.innerTemperature = innerTemperature;
    }

    public BigDecimal getInnerTemperature() 
    {
        return innerTemperature;
    }
    public void setOuterTemperature(BigDecimal outerTemperature) 
    {
        this.outerTemperature = outerTemperature;
    }

    public BigDecimal getOuterTemperature() 
    {
        return outerTemperature;
    }
    public void setInnerHumidity(BigDecimal innerHumidity) 
    {
        this.innerHumidity = innerHumidity;
    }

    public BigDecimal getInnerHumidity() 
    {
        return innerHumidity;
    }
    public void setOuterHumidity(BigDecimal outerHumidity) 
    {
        this.outerHumidity = outerHumidity;
    }

    public BigDecimal getOuterHumidity() 
    {
        return outerHumidity;
    }
    public void setBeeCount(Long beeCount) 
    {
        this.beeCount = beeCount;
    }

    public Long getBeeCount() 
    {
        return beeCount;
    }
    public void setAttendanceRate(BigDecimal attendanceRate) 
    {
        this.attendanceRate = attendanceRate;
    }

    public BigDecimal getAttendanceRate() 
    {
        return attendanceRate;
    }
    public void setCoConcentration(BigDecimal coConcentration) 
    {
        this.coConcentration = coConcentration;
    }

    public BigDecimal getCoConcentration() 
    {
        return coConcentration;
    }
    public void setBatteryLevel(BigDecimal batteryLevel) 
    {
        this.batteryLevel = batteryLevel;
    }

    public BigDecimal getBatteryLevel() 
    {
        return batteryLevel;
    }
    public void setHiveTrafficFrequency(Long hiveTrafficFrequency) 
    {
        this.hiveTrafficFrequency = hiveTrafficFrequency;
    }

    public Long getHiveTrafficFrequency() 
    {
        return hiveTrafficFrequency;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dataId", getDataId())
            .append("beehiveId", getBeehiveId())
            .append("recordedAt", getRecordedAt())
            .append("innerTemperature", getInnerTemperature())
            .append("outerTemperature", getOuterTemperature())
            .append("innerHumidity", getInnerHumidity())
            .append("outerHumidity", getOuterHumidity())
            .append("beeCount", getBeeCount())
            .append("attendanceRate", getAttendanceRate())
            .append("coConcentration", getCoConcentration())
            .append("batteryLevel", getBatteryLevel())
            .append("hiveTrafficFrequency", getHiveTrafficFrequency())
            .toString();
    }
}
